package com.big.tree.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.FeignClientProperties;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "userFeignApi", value = "big-user",
        configuration = FeignClientProperties.FeignClientConfiguration.class)
public interface UserFeignService {

    @GetMapping("/user/getOne")
    String getOne();
}
